package org.gis.mapserver.rendercontext;

import org.gis.mapserver.layer.element.Position;
import org.gis.mapserver.layer.element.Path;
import org.gis.mapserver.base.ContextType;
import org.gis.mapserver.base.Disposable;
import org.gis.mapserver.responsewriter.ResponseWriter;

import java.awt.image.BufferedImage;
/**
 *
 * @author gus
 */
public interface RenderingContext extends Disposable
{
    public void drawPath( Path path );
    public void drawTitle( Position pos, String text );
    public void drawImage( BufferedImage imager, int x, int y );

    public RenderingContext getParentRenderingContext();

    public ContextType getType();

    public ResponseWriter getResponseWriter();
}
